package org.charless.skeleton;

import java.util.List;

import org.charless.skeleton.bo.User;

public interface UserManager {
	/******************************************************************************/
	/** Working with users                                                        */
	/******************************************************************************/
	/**
	 * Get the list of all datt users
	 * @return The list of all existing users
	 */
	public abstract List<User> getAllUsers();

	/**
	 * Return the user model object referenced by the given username
	 * If no such a user already exists, create it
	 * @param username The (unique) name of the user 
	 * @return The user data model
	 */
	public abstract User getUser(String username);
}
